from django.urls import path, re_path
from . import views

urlpatterns = [
    path('', views.login, name='login'),  # 登录
    path('getMenu/', views.get_menu, name='getMenu'),  # 获取菜单数据
    path('logout/', views.logout, name='logout'),  # 退出
    path('signUp/', views.sign_up, name='sign_up'),  # 注册
    path('changeStatus/', views.change_status, name='changeStatus'),  # 修改用户状态
    path('showUsers/', views.show_users, name='show_users'),  # 展示用户列表
    path('queryUser/', views.query_user, name='query_user'),  # 查询用户
    path('updateUser/', views.update_user, name='update_user'),  # 更新
    path('tokenExpired/', views.token_expired, name='token_expired'),  # Token过期
    path('deleteUser/', views.delete_user, name='delete_user')  # 删除用户
]
